package cn.com.haopy.yue.ai.db.entity.arisk;

import cn.com.haopy.yue.ai.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

/**
 * @Description: TODO
 * @Author DuTao
 * @Date 2025/3/27 11:21
 */
@Data
@TableName(value = "arisk_check_index", autoResultMap = true)
@ApiModel(value = "检查结果表")
public class AIRiskCheckIndex extends BaseEntity {
    @TableField(value = "result_type", jdbcType = JdbcType.SMALLINT)
    @ApiModelProperty(value = "检查项类型")
    private int resultType;

    @TableField(value = "check_index_name", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "检查项名称")
    private String checkIndexName;

    @TableField(value = "unit", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "单位")
    private String unit;

    @TableField(value = "high_value", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "上限值")
    private String highValue;

    @TableField(value = "low_value", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "下限值")
    private String lowValue;


    @TableField(value = "normal_val", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "参考值")
    private String normalVal;


    @TableField(value = "is_judge_illness", jdbcType = JdbcType.BIT)
    @ApiModelProperty(value = "是否需要根据疾病判断")
    private Boolean isJudgeIllness;


    @TableField(value = "haopy_index_name", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "昊邦的体检指标名称")
    private String haopyIndexName;
}
